<#include "/macro/base.ftl" />

<style type="text/css">
	.pageContent .pageFormContent input[type='text']{
		width: 200px;
	}
	.pageContent .pageFormContent input[type='number']{
		width: 200px;
	}
</style>

<div class="pageContent">
	<form method="post" action="${base}/sys/sysSafeOptions/update" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
		<div class="pageFormContent" layoutH="58">
			<input name="id" value="${ bean.id?c!}" type="hidden"/>
				<p>
					<label>注册否定词：</label>
					<input name="keywords"  class="required" type="text" size="20" value="${ (bean.keywords)!}" placeholder="请输入注册否定词"/>
				</p>
				<p>
					<label>密码错误超限锁定：</label>
					<!-- <input name="openPasswordErrorLimit"  class="required" type="text" size="20" value="${ (bean.openPasswordErrorLimit)!}" placeholder="密码错误次数超限锁定"/> -->
					<input type="radio" name="openPasswordErrorLimit" <#if bean.openPasswordErrorLimit! == '0'>checked="checked"</#if> value="0">关闭</input>
					<input type="radio" name="openPasswordErrorLimit" <#if bean.openPasswordErrorLimit! == '1'>checked="checked"</#if> value="1">启用</input>
				</p>
				<p>
					<label>密码错误次数设置：</label>
					<input name="passwordErrorCount"  class="required" min="0" type="number" size="20" value="${ (bean.passwordErrorCount)!}" placeholder="请输入密码错误次数设置"/>
				</p>
				<p>
					<label>锁定时间/分：</label>
					<input name="lockTime" min="0" class="required" type="number" size="20" value="${ (bean.lockTime)!}" placeholder="请输入锁定时间/分"/>
				</p>
				<!-- <p>
					<label>创建人：</label>
					<input name="createUser"  class="required" type="text" size="20" value="${ (bean.createUser)!}" placeholder="请输入创建人"/>
				</p>
				<p>
					<label>创建时间：</label>
					<input name="createDate" datefmt="yyyy-MM-dd HH:mm:ss" readonly="true" class="required date textInput readonly" type="text" size="20" value="${ (bean.createDate?string('yyyy-MM-dd HH:mm:ss'))!}" placeholder="请输入创建时间"/>
					<a class="inputDateButton" href="javascript:;">选择</a>
				</p>
				<p>
					<label>更新人：</label>
					<input name="updateUser"  class="required" type="text" size="20" value="${ (bean.updateUser)!}" placeholder="请输入更新人"/>
				</p>
				<p>
					<label>更新时间：</label>
					<input name="updateDate" datefmt="yyyy-MM-dd HH:mm:ss" readonly="true" class="required date textInput readonly" type="text" size="20" value="${ (bean.updateDate?string('yyyy-MM-dd HH:mm:ss'))!}" placeholder="请输入更新时间"/>
					<a class="inputDateButton" href="javascript:;">选择</a>
				</p>
				-->
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
</div>
